package com.hyk.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hyk.domain.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysRoleService extends IService<SysRole>{


    Page<SysRole> pageList(Page<SysRole> page, String name);

    List<SysRole> findUserRole(Long userId);
}
